﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="VacantSlots.aspx.cs" Inherits="VacantSlots"  %>

<%@ Register assembly="DevExpress.Web.ASPxDataControls.v7.2, Version=7.2.5.0, Culture=neutral, PublicKeyToken=a3fbc9681f1148f7" namespace="DevExpress.Web.ASPxDataControls" tagprefix="dxwdc" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Lausir Tímar</title>
    <link rel="stylesheet" type="text/css" href="main.css" />
    
</head>
<body>
    <form id="form1" runat="server">
    <!-- Begin Wrapper -->
   <div id="wrapper">
        
         <!-- Begin Header -->
            <div id="header" 
                   style="border: medium outset #FFFFFF; background-image: none; background-color:#0000cd">			   
		     <table style="width:100%;">
                 <tr>
                     <td valign="middle" width="100">
        		        <asp:ImageButton ID="_ibmHomePage" runat="server" Height="97px" 
                            ImageAlign="Left" ImageUrl="~/Myndir/Logo_nota.JPG" Width="84px" 
                            onclick="_ibmHomePage_Click" />
                          
                     </td>
                     <td align="center" valign="middle">
                        <asp:Label ID="_lblHeaderText" runat="server"  ForeColor="White" Text="Tímaskráning.is" 
                             Font-Bold="True" Font-Size="28pt"></asp:Label>
                    </td>
                    <td width="100">
                    
                    </td>
                </tr>
             </table>
                                
		 </div>
		 <!-- End Header -->		 
		 

		 <!-- Begin subHeader -->
		 
		 <div id="subHeader"
		        style="border: medium outset #FFFFFF; background-image: none; background-color: #0000cd">
		 
		 <table   style="width:100%;">
		    <tr>
		    <td>   
		        <asp:Image ID="_imgConfirm" runat="server" Height="24px" ImageAlign="Right" 
                 ImageUrl="~/Myndir/notaconfirm.JPG" Width="29px" />
                <asp:LinkButton ID="_lbtnCompany" Font-Underline="false" runat="server" ForeColor="White" 
                    onclick="_lbtnCompany_Click">Forsíða -</asp:LinkButton>
               <asp:Label ID="_lblLogin" runat="server"  ForeColor="White" Text="Innskráning  - ">  </asp:Label>
               <asp:LinkButton ID="_lbtnCompanyBookingSub" Font-Underline="false" runat="server" ForeColor="White" 
                    onclick="_lbtnCompanyBookingSub_Click">Heimasvæði</asp:LinkButton> 
               <asp:Label ID="_lblFindtime1" runat="server"  ForeColor="White" Text="Finna Tíma" Font-Bold="True">  </asp:Label>  
            </td>
            </tr>	         
        </table>		 
        </div>		 

		 <!-- End subHeader -->
		 
		 <!-- Begin Left Column -->
		 <div id="leftcolumn"              
             style="border: medium outset #FFFFFF; background-color: #0000cd; background-image: none">
		 
		    <table   style="width:100%;">
		        <tr>
		            <td> 
		                <asp:LinkButton ID="_lbtnCompanyBooking" runat="server" ForeColor="White" 
                         onclick="_lbtnCompanyBooking_Click">Heimasvæði</asp:LinkButton>
                    </td>
                </tr>
                <tr>
		            <td> 
		                
                    </td>
                </tr>
                <tr>
		            <td align="center"> 
		                
                        <asp:Label ID="_lblOpenHours" runat="server" Text="OPNUNARTÍMI"></asp:Label>
		                
                    </td>
                </tr>
                <tr>
		            <td> 
		                
                        <asp:GridView ID="_dtgOpenHours" runat="server" AutoGenerateColumns="False" 
                            CellPadding="4" ForeColor="#333333" GridLines="None">
                            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                            <RowStyle BackColor="#EFF3FB" />
                            <Columns>
                                <asp:BoundField HeaderText="Dagur" ItemStyle-BackColor="LightBlue" DataField="Name"/>
                                <asp:BoundField HeaderText="Frá" ItemStyle-BackColor="LightBlue" ItemStyle-HorizontalAlign="Center" 
                                    HeaderStyle-Width="60" DataField="FromTime">
                                    <HeaderStyle Width="60px"></HeaderStyle>

                                <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                </asp:BoundField>
                                <asp:BoundField HeaderText="Til"  ItemStyle-HorizontalAlign="Center" 
                                    HeaderStyle-Width="60"   ItemStyle-BackColor="LightBlue" DataField="ToTime" >
                              <HeaderStyle Width="60px"></HeaderStyle>

                            <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                </asp:BoundField>
                            </Columns>
                            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                            <EditRowStyle BackColor="#2461BF" />
                            <AlternatingRowStyle BackColor="White" />
                        </asp:GridView>
		                
                    </td>
                </tr>	         
                	         
            </table>
		 
		 </div>
		 <!-- End Left Column -->
		 
		 <!-- Begin Right Column -->
		 <div id="rightcolumn">
		       
		      <table>
		      <tr>
		      <td align="center">
		          <asp:Label ID="_lblFindTime" runat="server" Text="Veldu dagsetningu"></asp:Label>
		      </td>
		      <td>
		      
		          <asp:Label ID="_lblNoFreeTime" runat="server"></asp:Label>
		      
		      </td>
		      </tr>
                  <tr>
                      <td valign="top" align="center" class="style1">
                        <dxwdc:ASPxCalendar ID="_calendar" runat="server" 
                        onselecteddatechanged="_calendar_SelectedDateChanged" TabIndex="0" 
                        VisibleDate="2008-05-04">
                        <EditorProperties AutoPostBack="True" ShowClearButton="False" 
                        TodayButtonText="Í dag">
                        </EditorProperties>
                        </dxwdc:ASPxCalendar>
                        <br />
                        <asp:Button 
                  ID="btnBookOrder" runat="server"  
                  Text="Bóka Tíma" Height="41px" Width="129px" 
                  onclick="btnBookOrder_Click" />
                      </td>
                      <td align="right" valign="top">
                     
                        <asp:RadioButtonList 
                        ID="buttonList" runat="server" 
                        >
                        </asp:RadioButtonList>
                      </td>
                   </tr>
                  <tr>
                      <td valign="top" align="center" class="style1">
                          &nbsp;</td>
                      <td align="right" valign="top">
                     
                          &nbsp;</td>
                   </tr>
              </table>              
		 </div>
		 <!-- End Right Column -->
		 
		 <!-- Begin Footer -->
		    <div id="footer" 
             style="border: medium outset #FFFFFF; background-image: none; background-color: #0000cd">
                <table style="width:100%;">
                 <tr>
                     <td align="center">
                        <asp:Label ID="_lblGroup10" runat="server"  ForeColor="White" Text="Hópur10 © 2008" 
                             Font-Bold="False" Font-Size="8pt"></asp:Label>
                    </td>
                </tr>
             </table>
		  </div>
		 <!-- End Footer -->
		 
   </div>
   <!-- End Wrapper -->
    
    </form>
</body>
</html>
